import random
print("""
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
              欢迎来到猜拳游戏！
适当游戏益脑，沉迷游戏伤身，合理安排时间，享受健康生活
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
                开发者：GC
""")
scissorrockFive=["剪刀","石头","布"]
count=5
win=0
while count!=0 and win<3:
    robot=random.choice(scissorrockFive)
    superman=input("请出拳：")
    if superman==robot:
        print("平局，哈哈")
    elif superman=="剪刀" and robot=="布":
        print("你赢了")
        count -=1
        win +=1
    elif superman=="剪刀" and robot=="石头":
        print("哈哈哈,你输了")
        count -= 1
    elif superman == "石头" and robot == "布":
        print("哈哈哈，你输了")
        count -= 1
    elif superman=="石头" and robot=="剪刀":
        print("你赢了")
        count -= 1
        win += 1
    elif superman=="布" and robot=="剪刀":
        print("哈哈哈，你输了")
        count -= 1
    elif superman=="布" and robot=="石头":
        print("你赢了")
        count -= 1
        win += 1
print("你赢了",win,"局")